package com.xmx.congfu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(scanBasePackages = {"com.xmx.confu.entity.controller"})//解决controller找不到问题
//mapper没有注解这里先放点东西
@MapperScan("com.xmx.confu.entity.**")
public class CongfuAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(CongfuAdminApplication.class, args);
    }

}
